{if (isset($content.userlevel) && $smarty.session.CMS.user_level >= $content.userlevel) OR !isset($content.userlevel)}
	<div class="divFormFieldLabel" style="position:relative;">{$content.label|htmlentitiesutf8}</div>
	<div class="divFormFieldInput" style="position:relative;">
		<select name="{$prefix}[{$content.fieldname}]{$content.suffix}" size="{$content.size}" {if $content.multiple}multiple="multiple"{/if}  {if $content.disabled==true}disabled="disabled"{/if} >
			
			{if 1 == $content.allowEmpty || true == $content.allowEmpty  }<option value="">--</option>{/if}
			{foreach name="valueloop" from=$content.values item=value}
				<option value="{$value.value}" {if in_array($value.value,$content.selected)}selected="selected"{/if}>{$value.label}</option>
			{/foreach}		
		</select>
		
	</div>
	<br style="clear:both;" />
{else}

	{if $content.multiple}
		{foreach from=$content.selected item="item"}
			{if '' != $item}
				<input type="hidden" name="{$prefix}[{$content.fieldname}]{$content.suffix}[]" value="{$item}" />
			{/if}
		{/foreach}
	{else}
		<input type="hidden" name="{$prefix}[{$content.fieldname}]{$content.suffix}" value="{$content.selected}" />
	{/if}
{/if}